<ul>
	<?php 
		$menus = $this->Categories->getMenuCategories();
		$lastIndex = count($menus) - 1;
		if(!isset($str_menu)){
			$str_menu = "";
		}
	?>
	<?php foreach($menus as $i => $menu){ ?>
			<li class="<?php echo($menu['Category']['slug']==$str_menu?'current':'') ?> <?php echo($i==0?'first':'') ?> <?php echo($i==$lastIndex?'last':'') ?>" >
					<?php echo $this->Html->link($menu['Category']['name'], '/' . $menu['Category']['slug']) ?>
			</li>
	<?php } ?>
</ul>
